package com.ruoyi.zhmk.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 人员进出记录对象 zhmk_userinout_info
 * 
 * @author ruoyi
 * @date 2021-06-24
 */
public class ZhmkUserinoutInfo extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 人员进出ID */
    private Long id;

    /** 进出人员姓名 */
    @Excel(name = "进出人员姓名")
    private String userName;

    /** 人员类型 */
    @Excel(name = "人员类型")
    private Integer userType;

    /** 请假事由 */
    @Excel(name = "请假事由")
    private String reason;

    /** 审核人 */
    @Excel(name = "审核人")
    private String checkUserName;

    /** 进出门位置 */
    @Excel(name = "进出门位置")
    private String outdoorSite;

    /** 人员照片 */
    @Excel(name = "人员照片")
    private String avatar;
    /**
     * 进出类型
     */
    private Integer inoutType;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setUserName(String userName) 
    {
        this.userName = userName;
    }

    public String getUserName() 
    {
        return userName;
    }
    public void setUserType(Integer userType) 
    {
        this.userType = userType;
    }

    public Integer getUserType() 
    {
        return userType;
    }
    public void setReason(String reason) 
    {
        this.reason = reason;
    }

    public String getReason() 
    {
        return reason;
    }
    public void setCheckUserName(String checkUserName) 
    {
        this.checkUserName = checkUserName;
    }

    public String getCheckUserName() 
    {
        return checkUserName;
    }
    public void setOutdoorSite(String outdoorSite) 
    {
        this.outdoorSite = outdoorSite;
    }

    public String getOutdoorSite() 
    {
        return outdoorSite;
    }
    public void setAvatar(String avatar) 
    {
        this.avatar = avatar;
    }

    public String getAvatar() 
    {
        return avatar;
    }

    public Integer getInoutType() {
        return inoutType;
    }

    public void setInoutType(Integer inoutType) {
        this.inoutType = inoutType;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("userName", getUserName())
            .append("userType", getUserType())
            .append("reason", getReason())
            .append("checkUserName", getCheckUserName())
            .append("outdoorSite", getOutdoorSite())
            .append("avatar", getAvatar())
            .append("createTime", getCreateTime())
            .append("updateTime", getUpdateTime())
            .toString();
    }
}
